import * as Draws from './draws/index'

class Index {
    constructor() {
        this.background = '#000'
        this.name = 'index'
        this.draws = {}
        this.handlers = {}
        this.handlers[Draws.BgDraws.name] = new Draws.BgDraws(this)
        this.draws[Draws.RuleDraws.name] = new Draws.RuleDraws(this)
        this.init()
    }

    init() {
        this.draws[Draws.RuleDraws.name].init()
    }

}

export default Index 